CurrentCellModified Property

       

Sets or returns modification status of the current cell. Not available at design time.

Syntax

object.CurrentCellModified [= value]

The CurrentCellModified property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value A Boolean expression that determines the modification status of the current cell, as described in Settings.

Settings

The settings for value are:

Setting Description
True Editing is in progress and the current cell (indicated by the Bookmark and Col properties) has been modified by the user.
False The cell has not been modified or editing is not in progress.

Remarks

You can use this property to cancel any changes the user has made to the current text. For example, to program a function key to discard the user's changes (like the ESC key), trap the key code in the grid's KeyDown event and set CurrentCellModified to False. This will revert the current cell to its original contents.